package com.hotel_management_backstage.lin.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TaskController {
    @GetMapping("api/tasks/get")
    public String listTasks(){
        return "任务列表";
    }

    @GetMapping("api/ADMINtasks/get")
    public String adminlistTasks(){
        return "admin任务列表";
    }
}
